<!--{include manage_header}-->
<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li> <a href="/manage/system/index.php">系统设置</a></li>
    <li><a href="/manage/system/bulletin.php">网站公告</a></li>
	<li style="float:right;  font-size:22px; ">
	 <a href="javascript::" style="padding-right:30px;color:#3B95C8;">
    <!--{if $_SESSION['ali_token']}-->${mb_strimwidth($login_user['realname'],0,10)}<!--{else}-->${mb_strimwidth($login_user['username'],0,10)}<!--{/if}-->
	</a> </li>
    </ul>
</div>
<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="system">
	<!--<div class="dashboard" id="dashboard">
		<ul>${mcurrent_system('bulletin')}</ul>
	</div>-->
	<div id="content" class="clear mainwide">
        <div class="clear box">
            <div class="box-top"></div>
            <div class="box-content">
                <div class="head"><!--<h2>系统公告</h2>-->
				<div class="formtitle"><span><h3>公告设置</h3></span></div>
				</div>
                <div class="sect">
                    <form id="login-user-form" method="post" action="/manage/system/bulletin.php">
					<input type="hidden" name="id" value="{$system['id']}" />
						<div class="wholetip clear"><h3>1、全局公告</h3></div>
                        <div class="field">
                            <label>全局公告</label>
                            <div style="float:left;"><textarea cols="45" rows="5" name="bulletin[0]" id="forum-new-content1" class="f-textarea editor">${htmlspecialchars($INI['bulletin'][0])}</textarea></div>
                        </div>
						<div class="wholetip clear"><h3>2、城市公告</h3></div>
						<!--{if is_manager(1)}-->
					<!--{loop $hotcities $one}-->
                        <div class="field">
                            <label>{$one['name']}</label>
                            <div style="float:left;"><textarea cols="45" rows="5" name="bulletin[{$one['id']}]" id="forum-new-content2" class="f-textarea editor">${htmlspecialchars($INI['bulletin'][$one['id']])}</textarea></div>
						</div>
					<!--{/loop}-->
					<!--{else}-->
					
                        <div class="field">
							<!--{loop $allcities $index $city}-->
							<!--{if $city['id']==$login_user['city_id'] }-->
							<label>{$city['name']}</label>
							<!--{/if}-->
							<!--{/loop}-->
                            <div style="float:left;"><textarea cols="45" rows="5" name="bulletin[{$one['id']}]" id="forum-new-content2" class="f-textarea editor">${htmlspecialchars($INI['bulletin'][$one['id']])}</textarea></div>
						</div>
					
					<!--{/if}-->
                        <div class="act">
                            <input type="submit" value="保存" name="commit" id="system-submit" class="formbutton"/>
                        </div>
                    </form>
                </div>
            </div>
            <div class="box-bottom"></div>
        </div>
	</div>

<div id="sidebar">
</div>

</div>
</div> <!-- bd end -->
</div> <!-- bdw end -->

<!--{include manage_footer}-->
